﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
namespace Langben.DAL
{
    [MetadataType(typeof(ts_baseMetadata))]//使用ts_baseMetadata对ts_base进行数据验证
    public partial class ts_base : IBaseEntity
    {
      
        #region 自定义属性，即由数据实体扩展的实体
        
        #endregion

    }
    public class ts_baseMetadata
    {
			[ScaffoldColumn(false)]
			[Display(Name = "Id", Order = 1)]
			public object Id { get; set; }

			[ScaffoldColumn(true)]
			[Display(Name = "仓库名称", Order = 2)]
			[StringLength(50, ErrorMessage = "长度不可超过50")]
			public object c_base { get; set; }


    }


}

